package org.tigris.subversion.svnant.commands;

import java.io.File;
import org.tigris.subversion.svnant.SvnAntUtilities;
import org.tigris.subversion.svnclientadapter.ISVNClientAdapter;
import org.tigris.subversion.svnclientadapter.SVNClientException;

public class Cleanup extends SvnCommand
{
  private static final String MSG_FAILED_TO_CLEANUP = "Failed to cleanup";
  private File path = null;

  public void execute()
  {
    try
    {
      getClient().cleanup(this.path);
    }
    catch (SVNClientException localSVNClientException)
    {
      throw ex(localSVNClientException, "Failed to cleanup", new Object[0]);
    }
  }

  public void setDir(File paramFile)
  {
    this.path = paramFile;
  }

  protected void validateAttributes()
  {
    SvnAntUtilities.attrIsDirectory("path", this.path);
  }
}

/* Location:           C:\Users\Administrator\Desktop\svnant.jar
 * Qualified Name:     org.tigris.subversion.svnant.commands.Cleanup
 * JD-Core Version:    0.6.0
 */